Skip to content

Enable START+SELECT as hotkey to enter menu#6

Open
wwhheerree wants to merge 1 commit intonotaz:masterfrom
wwhheerree:master
Open

Enable START+SELECT as hotkey to enter menu#6
wwhheerree wants to merge 1 commit intonotaz:masterfrom
wwhheerree:master

Conversation

@wwhheerree
Copy link
Copy Markdown

I add this for GPI case.

result[1] |= 0x0;
return 0;
}

Copy link
Copy Markdown
Owner

@notaz notaz Feb 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to put it before the loop, when the buttons are pressed, you don't want to do anything else and just enter the menu, right?
Also add #ifdef to not break other things.

Something like

collect_events(state, NULL, NULL);

#ifdef <something from your platform>
if (state->keystate[5] == 0xC0) {
  result[0] = 2;
  return 0;
}
#endif

for (...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants